function loadFengmap(ak) {
  return new Promise(function(resolve, reject) {
    if (typeof fengmap !== 'undefined') {
      resolve(fengmap)
      return true
    }
    let script = document.createElement('script')
    script.type = 'text/javascript'
    script.src = '/ilink-app-h5-zd/static/js/fengmap.2.6.0.min.js'
    script.onerror = reject
    script.onload = ()=> resolve(fengmap)
    document.head.appendChild(script)
  })
}
